<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<style>
.form-item {
	margin: 10px 10px;
}

.form-item>label {
	letter-spacing: 3px;
	width: 110px;
	text-align: right;
	display: inline-block;
}

.form-item>label:after {
	content: ":";
}

.form-item input[type=text] {
	width: 100px;
}

.form-item.required>label:before {
	content: "*";
	color: red;
}

#s_province, #s_city, #s_county {
	height: 24px;
	border-radius: 5px;
	border-color: dodgerblue;
}
</style>
<form  id="roleForm">
<input type="hidden" name="roleId" value="${role.roleId}">
	<h3 style="text-align: center; margin-top: 30px;">${role.roleId ==null?'添加':'编辑'}角色</h3>
	<br /> <span style="margin-left: 20px;">注：其中 <span
		style="color: red;">*</span> 为必填选项
	</span>
	<br />
	<div class="form-item required">
		<label for="">角色名称</label> <input  name="roleName"
			type="text" class="easyui-textbox" data-options="required:true"
			value="${role.roleName}">
		<label style="margin-left: -18px;" for="">角色标识</label> <input  name="roleKey"
			type="text" class="easyui-textbox" data-options="required:true"
			value="${role.roleKey}">
	</div>
	<div class="form-item">
	<label for="">描述</label><br>
	 <input  name="roleDescribe"
			type="text"  data-options="multiline:true,required:true" style="height:62px;margin-left: 114px;width:215px;"
			value="${role.roleDescribe}">
	</div>
	<p>
	<div class="form-item">
		<label for="">状态</label> <input
			id="role-enable" class="easyui-switchbutton"
			data-options="onText:'启用',offText:'禁用',checked:${not empty role and role.enable == false ? 'false' :'true' }">
		<input type="hidden"
			value="${not empty role and role.enable == false ? 0 : 1 }"
			id="enable_" name="enable">
	</div>
</form>